for %%i in (*.ui) do pyuic4 -o ui_%%~ni.py %%i 